package StudyCode.summary.zipfile;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CreateFileOutputStreamObjectFromFileObject {
	public static void main(String[] args) {

		File file = new File("E:/Copy/2.txt");

		try {
			FileOutputStream fos = new FileOutputStream(file);
			System.out.println(fos);
		} catch (FileNotFoundException ex) {
			ex.printStackTrace();
		}
	}
}
